import React, { Component } from "react";
import $ from 'jquery'

import './scrollDir'

import styles from './index.module.css'

class Index extends Component {

  componentDidMount() {
    $('html, body').animate({ scrollTop: 0 }, 'slow');
  }

  render() {
    return <div className={styles.root}>
      <div id="headerContainer" className={styles.headerContainer}>
        <img className={styles.header_img} src="http://os1.20app.vip/auditions/front/2020031110535155555.png" alt="" />
        {/* <div className={styles.downloadBtn} onClick={() => void (window.location.href = 'itms-apps://itunes.apple.com/app/id414478124')}>下载20趣看</div> */}
      </div>

      <div className={styles.header} />

      <div className={styles.screenshot1} />

      <div className={styles.screenshot2} />
    </div>

  }
}

export default Index